package com.fjec.activity.mapper;

import com.fjec.activity.entity.BizExchangeGiftDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 011.兑换礼物详细表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2020-12-08
 */
public interface BizExchangeGiftDetailMapper extends BaseMapper<BizExchangeGiftDetail> {

    /**
     * 根据用户Id查询兑换礼物详细列表
     *
     * @param userId
     * @return
     */
    List<BizExchangeGiftDetail> getDetailListByUserId(@Param("userId") Long userId);

}
